package fr.km.client.model;

import java.io.Serializable;
import java.util.ArrayList;

@SuppressWarnings("serial")
public class Article implements Serializable {
	public final static int UNDEFINED = -1;
	private int id;
	private String title;
	private ArrayList<String> tags;
	private String content;
	
	public Article() {
		id = UNDEFINED;
		title = new String("");
		tags = new ArrayList<String>();
		content = new String("");
	}
	
	public Article(int id, String title, ArrayList<String> tags, String content) {
		this.id = id;
		this.title = title;
		this.tags = tags;
		this.content = content;
	}

	public int getId() {
		return id;
	}

	public String getTitle() {
		return title;
	}

	public ArrayList<String> getTags() {
		return tags;
	}

	public String getContent() {
		return content;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setTags(ArrayList<String> tags) {
		this.tags = tags;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	
	
}